import fetch from 'utils/fetch';
// 等级分页
export function loanLevelPage(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/loanLevelPage',
        method: 'get',
        params: query
    });
}
// 启用/停用
export function updateStatus(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateStatus',
        method: 'post',
        data: obj
    });
}
// 编辑等级
export function updateLoanLevel(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateLoanLevel',
        method: 'post',
        data: obj
    });
}
// 是否编辑
export function updateLevelFlag(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateLevelFlag',
        method: 'post',
        data: obj
    });
}